<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    #app {
      height: 600px;
      width: 1000px;
      background-color: rgb(245, 245, 245);
      margin: 100px auto;
    }

    #app .top {
      padding: 10px 0 0 5px;
      margin-bottom: 10px;
    }

    #app .top p:nth-child(1) {
      display: inline-block;
      width: 2px;
      height: 12px;
      background-color: black;
    }

    #app .top p:nth-child(2) {
      display: inline-block;
    }

    #app .bottom {
      display: flex;
      justify-content: space-between;
      margin-left: 10px;
    }

    #app .left img {
      width: 185px;
      height: 545px;
    }

    #app .right ul {
      width: 790px;
      height: 545px;
    }

    .right ul li {
      float: left;
      height: 267px;
      width: 187px;
      background-color: #fff;
      margin: 0 10px 10px 0;
    }

    ul li img {
      height: 160px;
      width: 187px;
    }

    li span {
      display: inline-block;
      margin-top: 8px;
    }

    ul li .price {
      width: 187px;
      text-align: center;
      color: rgb(210, 65, 101);
    }
  </style>
</head>

<body>
  <div id="app">
    <div class="top">
      <p></p>
      <p>潮电酷玩 ELECTRONICS</p>
    </div>
    <div class="bottom">
      <div class="left">
        <img src="https://uploadfile.bizhizu.cn/up/6a/02/16/6a0216958802d73466f716e5f3f37b93.jpg" alt="">
      </div>
      <div class="right">
        <ul>
          <li v-for="item in mockData">
            <img :src="item.img" alt="">
            <span v-html="item.text"></span>
            <span class="price">￥{{item.price}}</span>
          </li>
        </ul>
      </div>
    </div>
  </div>

  <script src="../code/vue.js"></script>

  <script>
    new Vue({
      el: '#app',
      data: {
        "mockData": [
          {
            "id": 1,
            "img": "https://img11.360buyimg.com/jdcms/s300x300_jfs/t1/67273/35/13753/175949/5db15a4eE544ee569/480a389438afde18.jpg.webp",
            "text": "亿匚鑫 意式折叠实木圆桌子吃饭桌 【进口岩板】1.35米1桌6椅",
            "price": 2799
          },
          {
            "id": 2,
            "img": "https://img12.360buyimg.com/jdcms/s300x300_jfs/t1/164708/20/20875/95398/6086e7daE5d1ea589/2248e82326846870.jpg.webp",
            "text": "兰叶源  白玫瑰浆果花把束艺卉餐桌花瓶摆件 浅蓝色 两套更优惠",
            "price": 266
          },
          {
            "id": 3,
            "img": "https://img12.360buyimg.com/jdcms/s300x300_jfs/t1/156232/40/12942/112817/6041ced3Ef7f383b3/7e29e51c25f7b77e.jpg.webp",
            "text": "<i class=\"more2_info_self\">自营</i>都市丽人文胸无钢圈聚拢中小花心波斯菊蕾丝胸罩内衣女2B9506",
            "price": 98
          },
          {
            "id": 4,
            "img": "https://img12.360buyimg.com/jdcms/s300x300_jfs/t1/176546/26/4766/230854/607aa012E97def171/7417547d2d2e5da3.jpg.webp",
            "text": "兰叶源 仕女香插香座插香器线香室内檀香家用线香薰炉摆件",
            "price": 166
          },
          {
            "id": 5,
            "img": "https://img12.360buyimg.com/jdcms/s300x300_jfs/t1/119997/6/15535/123334/5f8d237bE36364127/a4d5ee3e0209d2a0.jpg.webp",
            "text": "<i class=\"more2_info_chosen\"></i>得力（deli）4905 家用办公椅 转椅人体工学网布椅子",
            "price": 459
          },
          {
            "id": 6,
            "img": "https://img11.360buyimg.com/jdcms/s300x300_jfs/t1/158542/28/20137/213892/607aa011Ef99cf77f/ee308525809e7d32.jpg.webp",
            "text": "兰叶源  创意简约现代手工陶瓷人物家居小摆件客厅装饰品 小胖",
            "price": 96
          },
          {
            "id": 7,
            "img": "https://img14.360buyimg.com/jdcms/s300x300_jfs/t1/184019/38/1640/74927/608bce5aEcbe6dfa2/7649c02195797afa.jpg.webp",
            "text": "<i class=\"more2_info_self\">自营</i>浪琴(Longines)瑞士手表 嘉岚系列 L42091917",
            "price": 9800
          },
          {
            "id": 8,
            "img": "https://img13.360buyimg.com/jdcms/s300x300_jfs/t1/161897/28/19295/153357/607aa1caEd6d31b06/470d5052656bbc5e.jpg.webp",
            "text": "兰叶源  一对客厅玄关电视柜家居装饰乔迁创意礼品 小号木福猪一只",
            "price": 726
          },
        ]
      }
    })
  </script>
</body>

</html>